
func int B_HasUpgradeWeapons ()
{
	if ((B_GetWeaponLevel(PlayerColor) == 1 && Npc_HasItems (hero, ItMw_Sword) >= 3)) || ((B_GetWeaponLevel(PlayerColor) == 2 && Npc_HasItems (hero, ItMw_LangSchwert) >= 3)) || ((B_GetWeaponLevel(PlayerColor) == 3 && Npc_HasItems (hero, ItMw_ElBastardo) >= 3))
	{
		return TRUE;
	};
	return FALSE;
};

func int B_HasUpgradeArmors ()
{
	return ((B_GetArmorLevel(PlayerColor) == 1&&Npc_HasItems(hero,BotK_Armor_lvl1)>2)
	    ||  (B_GetArmorLevel(PlayerColor) == 2&&Npc_HasItems(hero,BotK_Armor_lvl2)>2)
	    ||  (B_GetArmorLevel(PlayerColor) == 3&&Npc_HasItems(hero,BotK_Armor_lvl3)>2));
};